<script type="text/javascript" language="javascript" charset="utf-8">
$(".menu-wrap li").removeClass("active-link");
$(".menu-wrap #teacher").addClass("active-link");
</script>
<!-- 导师授课列表 -->  
<div class="common-tit">
  <h2><%= @teacher_name %>-授课学员</h2>
  <span>导师列表 > 授课学员</span>
</div>
<div class="cur-list">
  <div class="cur-listbox clearfix">
    <div class="cur-ll cur-serch clearfix">
      <div class="list-box">
        <div class="downbtn">
          <span>消费类型</span>
          <em></em>
        </div>
        <ul class="dropdown-menu">
          <li data_id="all">请选择消费类型</li>
          <li data_id="年卡">年卡</li>
          <li data_id="月卡">月卡</li>
          <li data_id="次卡">次卡</li>
          <li data_id="充值卡">充值</li>
        </ul>
      </div>
      <div class="list-box">
        <div class="downbtn">
          <span>上课次数排序</span>
          <em></em>
        </div>
        <ul class="dropdown-menu">
          <li>测试测试</li>
          <li>我们</li>
          <li>测试测试测试</li>
          <li>asdfasdfsaf</li>
        </ul>
      </div>
      <div class="list-box">
        <div class="downbtn">
          <span>消费能力排序</span>
          <em></em>
        </div>
        <ul class="dropdown-menu">
          <li data_id="all">消费能力</li>
          <li data_id="5-10k">5-10k</li>
          <li data_id="10-20k">10-20k</li>
          <li data_id="20k以上">20k以上</li>
        </ul>
      </div>
    </div>
  </div>
  <div class="curlist-con">
    <div class="scrollbox">
      <table>
        <thead>
          <tr>
            <th class="tstu-name">学生名</th>
            <th class="tstu-cl">总计上课(次)</th>
            <th class="tstu-cons">消费能力(元)</th>
            <th class="tstu-type">消费类型</th>
            <th class="tstu-last">最近一堂课程</th>
            <th class="curl-operation">操作</th>
          </tr>
        </thead>
        <tbody>
          <% for course_student in @course_student_array %>
            <tr>
            <td><%= course_student["student"].name %></td>
            <td><%= course_student["check_count_array"].size %></td>
            <td><%= course_student["student"].shopping_level %></td>
            <td><%= course_student["student"].cards_category %></td>
            <td><%= course_student["course_info_name"] %></td>
            <td class="curl-operation">
              <span>[</span>
              <em><%= link_to "查看详情", :action => "show_my_student_detail", :id => course_student["student"].id %></em>
              <span>]</span>
              <span>[</span>
              <em><%= link_to "评价信息", :action => "remark_my_student", :student_id => course_student["student"].id %></em>
              <span>]</span>  
            </td>
          </tr>
          <% end %>
        </tbody>
      </table>
      <div class="apple_pagination" id ="will_page">
        <!-- 分页数据结构提示 -->
        <div class="page_info">
          <%= page_entries_info @course_student_array %>
        </div>
        <%= paginate @course_student_array, :container => false %>
      </div>
    </div>
  </div>
</div>
  
<script src="/assets/js/common.js"></script>